package com.qf.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.qf.mapper.DtsUserAccountMapper;
import com.qf.pojo.DtsUserAccount;
import com.qf.service.DtsUserAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 邢式瑞
 * @version 1.0
 * @project E-commercebackGroundManagementSystem
 * @date 2022/9/22 21:19
 */
@Service
public class DtsUserAccountServiceImpl  implements DtsUserAccountService {
    @Autowired
    private DtsUserAccountMapper dtsUserAccountMapper;
    @Override
    public DtsUserAccount selectUserById(Integer id) {
        return dtsUserAccountMapper.selectOne(new QueryWrapper<DtsUserAccount>().eq("user_id",id));
    }
}
